package cn.iocoder.yudao.module.jifenyuan.convert.walletlog;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.jifenyuan.controller.admin.walletlog.vo.WalletLogCreateReqVO;
import cn.iocoder.yudao.module.jifenyuan.controller.admin.walletlog.vo.WalletLogPageReqVO;
import cn.iocoder.yudao.module.jifenyuan.controller.admin.walletlog.vo.WalletLogUpdateReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.jifenyuan.controller.app.walletlog.vo.*;
import cn.iocoder.yudao.module.jifenyuan.dal.dataobject.walletlog.WalletLogDO;

/**
 * 记分员 钱包记录 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface WalletLogConvert {

    WalletLogConvert INSTANCE = Mappers.getMapper(WalletLogConvert.class);

    WalletLogDO convert(AppWalletLogCreateReqVO bean);

    WalletLogDO convert(AppWalletLogUpdateReqVO bean);

    AppWalletLogCreateReqVO convert(WalletLogCreateReqVO bean);

    AppWalletLogUpdateReqVO convert(WalletLogUpdateReqVO bean);
    AppWalletLogPageReqVO convert(WalletLogPageReqVO bean);

    AppWalletLogRespVO convert(WalletLogDO bean);

    List<AppWalletLogRespVO> convertList(List<WalletLogDO> list);

    PageResult<AppWalletLogRespVO> convertPage(PageResult<WalletLogDO> page);

    List<AppWalletLogExcelVO> convertList02(List<WalletLogDO> list);

}
